﻿<%@ Page Language="C#" MasterPageFile="~/city.master" AutoEventWireup="true" CodeFile="city1.aspx.cs" Inherits="city1" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table cellpadding="0" cellspacing="0" 
    style="width: 100%">
                <tr>
                    <td style="width: 208px" valign="top">
                        <table cellpadding="0" cellspacing="0" style="width: 70%">
                            <tr>
                                <td>
                                    by<br />
                                    interest</td>
                            </tr>
                            <tr>
                                <td>
                                    <img alt="" src="images/citypage/color_line.gif" 
                                        style="width: 58px; height: 4px" /></td>
                            </tr>
                        </table>
                       
                        <asp:DataList ID="DataList1" runat="server" RepeatColumns="1" 
                            ShowFooter="False" ShowHeader="False">
                            <ItemTemplate>
                                <asp:HyperLink ID="HyperLink4" runat="server" ForeColor="#333333" 
                                    NavigateUrl='<%# Eval("to") %>' Text='<%# Eval("title") %>'></asp:HyperLink>
                            </ItemTemplate>
                            <ItemStyle Height="24px" />
                        </asp:DataList>
                        <br />
                    </td>
                    <td valign="top">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            GridLines="None" style="margin-left: 0px" Width="47%">
                            <Columns>
                                <asp:TemplateField ShowHeader="False">
                                    <ItemTemplate>
                                        <asp:Image ID="Image4" runat="server" 
                                            ImageUrl='<%# Eval("main_pic_fn","city_imgs/1/{0}") %>' Width="40px" />
                                    </ItemTemplate>
                                    <ItemStyle Width="60px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Title">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="HyperLink1" runat="server" 
                                            NavigateUrl='<%# Eval("no", "city_s.aspx?no={0}") %>' 
                                            Text='<%# Eval("title") %>'></asp:HyperLink>
                                        <br />
                                        <asp:Label ID="Label5" runat="server" ForeColor="#999999" 
                                            Text='<%# Eval("ct_s_type.title") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="ranking" HeaderText="Ranking">
                                    <ItemStyle Font-Size="20px" ForeColor="Gray" />
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    <p>
        <br />
    </p>
    <p>
    </p>
</asp:Content>

